package com.fiberhome.app.network.socket;

import java.net.DatagramPacket;
import java.net.DatagramSocket;

/**
 * Created by Deed on 2018/1/22.
 */

public interface UdpPacket {
    /**
     *
     * @param data String
     * @return String
     */
    String sendData(String data);

    /**
     *
     * @param ds
     * @return String
     */
    String getResult(DatagramPacket receivePacket);
}
